﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Irony.Parsing;

namespace DPLParser.DPLNodeParser.DPLScriptTreeNodeMappers
{
    public abstract class AbstractDPLScriptItemsCollectionExtractor<T> where T:class
    {
        protected AbstractDPLScriptItemsCollectionExtractor(ParseTreeNode originalNode)
        {
            OriginalTreeNode = originalNode;
        }

        public ParseTreeNode OriginalTreeNode { get; set; }

        public abstract List<T> GetList();
    }
}
